#include "ControlState.h"

void change_state(ControlState *cs) {
    cs->state ++;
    if (cs->state > Stop)
        cs->state = Wait;
};

void set_state(ControlState *cs, u8 state) {
    cs->state = state;
}
